package game.view.assignmentMenu
{
	import flash.display.Sprite;
	import flash.text.TextField;
	import flash.events.MouseEvent;
	import game.UIComponent.FoodTypeSquare;
	import game.UIComponent.ScrollBar;
	import game.common.CustomBitmap;
	import game.managers.LanguageManager;
	import game.utils.Utils;
	import game.UIComponent.TabButton;
	
	public class TaskOneType extends Sprite
	{
		private var _taskonetitle:TextField;
		private var _taskonetxt:TextField;
		private var _rewardtxt:TextField;
		private var _rewardnumber:TextField;
		private var _star:CustomBitmap;
		
		public function TaskOneType()
		{
			init();
		}
		private function init():void
		{
			_taskonetitle=Utils.getTextField(LanguageManager.getWord("taskone.title"), 18);
		    addChild(_taskonetitle);
			
			_taskonetxt=Utils.getCommonTextField(LanguageManager.getWord("taskone.txt"),15,-10,80);
			addChild(_taskonetxt);
			
			_rewardtxt=Utils.getCommonTextField(LanguageManager.getWord("reward"),15,-10,180);
			addChild(_rewardtxt);
			
			_star=new CustomBitmap();
			_star.source="star";
			_star.x=_rewardtxt.x;	
			_star.y=_rewardtxt.y+20;
			addChild(_star);
			
			_rewardnumber=Utils.getTextField(LanguageManager.getWord("reward.txtone"), 18);
			_rewardnumber.x=_star.x+50;
			_rewardnumber.y=_star.y+20;
			addChild(_rewardnumber);
		}
	}
}